﻿using System.Globalization;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using Common.Core;
using Domain.Infrastructure;
using Domain.Infrastructure.Auth;
using Domain.Infrastructure.HttpContextUser;
using Domain.Infrastructure.ServiceExtensions;
using Domain.Model.Model;
using Domain.Model.ViewModel;
using Domain.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace WebApi.Controllers
{
    [ApiController]
    [Route("api/[controller]")]
    public class UserController : ControllerBase
    {
        private readonly PermissionRequirement _requirement;
        private readonly IUser _user;

        public UserController(PermissionRequirement requirement, IUser user)
        {

            _requirement = requirement;
            _user = user;
        }

        [HttpGet]
        [Route("hello")]
        public string Hello()
        {
            return "Hello";
        }
    }
}
